package com.manager.service.impl;

import com.manager.entity.Carousels;
import com.manager.mapper.CarouselsMapper;
import com.manager.service.CarouselsService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author zhou
 * @date 2021/07/18 14:14
 **/
@Service
public class CarouselsServiceImpl implements CarouselsService {

  @Resource
  private CarouselsMapper carouselsMapper;

  @Override
  public List<Carousels> selectCarousels() {
    List<Carousels> carousels = carouselsMapper.selectCarousels();
    return carousels;
  }
}
